package cn.kgc.fallback;

import cn.kgc.pojo.DmUser;

import cn.kgc.client.RestDmUserClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

@Component
@Slf4j
public class DmUserClientFallBack implements RestDmUserClient {


@Override
public DmUser getDmUserById(Long id)throws Exception{
return null;
}

@Override
public List<DmUser>    getDmUserListByMap(Map<String,Object> param)throws Exception{
    log.error("进入容错处理了");
return null;
}

@Override
public Integer getDmUserCountByMap(Map
<String,Object> param)throws Exception{
return null;
}

@Override
public Integer qdtxAddDmUser(DmUser dmUser)throws Exception{
return null;
}

@Override
public Integer qdtxModifyDmUser(DmUser dmUser)throws Exception{
return null;
}

@Override
public Integer qdtxDelDmUser(Long id)throws Exception{
return null;
}

}
